package com.softlab.retailwholesalesystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.softlab.retailwholesalesystem.entity.AuthorityEntity;
import com.softlab.retailwholesalesystem.entity.MenuEntity;

import java.util.List;

public interface IAuthorityService extends IService<AuthorityEntity> {

    List<AuthorityEntity> getList(AuthorityEntity authority);

    List<MenuEntity> getRoleAuthorities(int roleId);

}
